package cn.edu.sdjzu.xg.eagle.service.inface;


import cn.edu.sdjzu.xg.eagle.entities.Material;

import java.sql.SQLException;
import java.util.List;

public interface MaterialService {
    String addMaterial(Material Material) throws SQLException;
    String deleteMaterial(int id) throws SQLException;

    String updateMaterial(Material Material) throws SQLException;


    Material findMaterialById(int id) throws SQLException;
    List<Material> findMaterials() throws SQLException;
}
